<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head>
    <title>CRM</title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.min.css" />
	<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript">
		$('.dropdown-toggle').dropdown();
	</script>
	<style type="text/css">
		
	</style>
  </head>
  
  <body>
   	<jsp:include page="include/head.jsp">
   		<jsp:param value="contact" name="tag"/>
   	</jsp:include>
 	<div class="container" style="margin-top:60px;">
 		<div class="row-fluid">
	 		<div class="span8" style="margin-top:10px;">
	 			<div class="content" style="height:auto;border:1px #ccc solid;">
	 				<div class="head well" style="padding:10px 10px 8px 10px;">
	 					<div style="float:left;">
	 						<span><h3>添加公司</h3></span>
	 					</div>
	 					<div style="float:right;">
		 					<a href="AddContact.jsp">添加联系人</a>
				         </div>
				         <div style="clear:both;"></div>
	 				</div>
	 				
	 				<div style="padding:0 10px 10px 10px;">
	 					<form class="form-horizontal">
					        <fieldset>
					          <div class="control-group">
					            <label for="input01" class="control-label">*名称</label>
					            <div class="controls">
					              <input type="text" id="input01" class="input-xlarge"/>
					            </div>
					          </div>
					        
					          <div class="control-group">
					            <label for="input01" class="control-label">电话</label>
					            <div class="controls">
					              <input type="text" id="input01" class="input-xlarge"/>
					               <select class="span1">
						                <option>公司</option>
						                <option>工作</option>
						                <option>手机</option>
						                <option>传真</option>
						                <option>住宅</option>
						                <option>其他</option>
						           </select>
					            </div>
					          </div>
					          <div class="control-group">
					            <label class="control-label">邮箱</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge"/>
					               <select class="span1">
						                <option>工作</option>
						                <option>个人</option>
						                <option>其他</option>
						           </select>
					            </div>
					          </div>
					          <div class="control-group">
					            <label class="control-label">IM</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge"/>
					               <select class="span1">
						                <option>QQ</option>
						                <option>GTalk</option>
						                <option>MSN</option>
						                <option>其他</option>
						           </select>
					            </div>
					          </div>
					          <div class="control-group">
					            <label class="control-label">网站</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge"/>
					              <select class="span1">
						              <option>公司</option>
						              <option>个人</option>
						              <option>其他</option>
						          </select>
					            </div>
					          </div>
					          <div class="control-group">
					            <label class="control-label">地址</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge"/>
					               <select class="span1">
						                <option>公司</option>
						                <option>住宅</option>
						                <option>其他</option>
						           </select>
					            </div>
					          </div>
					          
					          <div class="control-group">
					            <label class="control-label">新浪微博</label>
					            <div class="controls">
					              <input type="text" class="input-xlarge"/>
					              <p class="help-block">输入微博ID或昵称</p>
					            </div>
					          </div>
					          <div class="control-group">
					            <label for="textarea" class="control-label">背景信息</label>
					            <div class="controls">
					              <textarea rows="5" class="input-xlarge"></textarea>
					               <p class="help-block">简介，如何认识的等……</p>
					            </div>
					          </div>
					          <div class="control-group">
					            <label for="textarea" class="control-label">谁可以看见</label>
					            <div class="controls">
					             	<label class="radio">
										<input type="radio"/>所有同事
									</label>
									<label class="radio">
										<input type="radio"/>仅自己可见
									</label>
									
									<label class="radio">
										<input type="radio"/>选择一个组
									</label>
									<select class="span2">
						              <option>选择一个组</option>
						              <option>--</option>
						              <option>--</option>
						          	</select>
									<label class="radio">
										<input type="radio"/>选择同事
									</label>
									<select class="span2">
						              <option>选择一个同事</option>
						              <option>--</option>
						              <option>--</option>
						          </select>
					            </div>
					          </div>
					          <div class="form-actions">
					            <button class="btn btn-primary" type="submit">保存公司</button>
					             <button class="btn btn-success" type="submit">保存并继续添加公司</button>
					            <button class="btn">取消</button>
					          </div>
					        </fieldset>
					     </form>
	 				</div>
	 			</div>
			</div>
 			
			<div class="span4" style="margin-top:10px;">
				<div class="well" style="height:auto;border:1px #ccc solid;padding:20px 10px 10px 10px;">
				  <div style="color:#46a546;font-size:18px;border-bottom:1px #ccc solid;padding-bottom:10px;margin-bottom:10px;">您还可以通过以下方式导入联系人</div>
		          <ul>
		            <li>
		            	<a href="#">上传Excel文件</a>
		            	<p>您可以从Microsoft Excel 2003、2007等导入联系人</p>
		            </li>
		            <li>Purus sodales ultricies</li>
		          </ul>
				</div>
			</div>
		</div>
 	</div>
  </body>

</html>

